package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ClobStringType implements PredefinedType {

    private int beginIndex;
    private int endIndex;
    private LargeObjectLength length;
    private CharacterSetName characterSetSpecification;
    private CollateClause collateClause;

    public ClobStringType(int beginIndex,
                          int endIndex,
                          LargeObjectLength length,
                          CharacterSetName characterSetSpecification,
                          CollateClause collateClause) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.length = length;
        this.characterSetSpecification = characterSetSpecification;
        this.collateClause = collateClause;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public LargeObjectLength getLength() {
        return length;
    }

    public CharacterSetName getCharacterSetSpecification() {
        return characterSetSpecification;
    }

    public CollateClause getCollateClause() {
        return collateClause;
    }

}
